package com.example.conf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 退货地址表
 * </p>
 *
 * @author wpdcn
 * @since 2020-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shop_return_address")
@ApiModel(value="ShopReturnAddressEntity对象", description="退货地址表")
public class ShopReturnAddressEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column(comment = "主键id")
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Column(comment = "账户id")
    @ApiModelProperty(value = "账户id")
    private Long accountId;

    @Column(comment = "收货人姓名")
    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @Column(comment = "联系方式")
    @ApiModelProperty(value = "联系方式")
    private String mobile;

    @Column(comment = "收货地点")
    @ApiModelProperty(value = "收货地点")
    private String address;

    @Column(comment = "是否默认地址：1-是；0-否")
    @ApiModelProperty("是否默认地址：1-是；0-否")
    private String defaultStatus;


}
